Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: /
QuickDraw 3D RAVE / QuickDraw 3D RAVE Reference
QuickDraw 3D RAVE Routines / Registering a Custom Drawing Engine


QARegisterEngine

You can use the QARegisterEngine function to register a custom drawing engine with QuickDraw 3D RAVE.

TQAError QARegisterEngine (TQAEngineGetMethod engineGetMethod);
engineGetMethod
The method retrieval method of your drawing engine. See "Method Reporting Methods" (page 1-146) for a complete description of this method.
DESCRIPTION
The QARegisterEngine function registers your custom drawing engine with QuickDraw 3D RAVE. You should call this function at startup time (usually from the initialization routine in the shared library containing the code for your drawing engine). QuickDraw 3D RAVE uses the method specified by the engineGetMethod parameter to retrieve function pointers for the non-drawing methods defined in your drawing engine.

SPECIAL CONSIDERATIONS
You should call QARegisterEngine only to register a custom drawing engine. Applications using QuickDraw 3D RAVE to draw into one or more draw contexts do not need to use this function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
28 AUG 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help